package com.snooker.snooker.service.impl;

import com.snooker.snooker.dao.PlayerMapper;
import com.snooker.snooker.entity.Player;
import com.snooker.snooker.service.PlayerService;
import java.util.List;
import javax.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Description: 球员相关serviceimpl
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 1:48 PM 2018/11/6
 */
@Slf4j
@Service
public class PlayerServiceImpl implements PlayerService {

  @Resource
  private PlayerMapper playerMapper;

  @Override
  public List<Player> getAllPlayer() {
    return playerMapper.getAllPlayer();
  }

}
